package com.luhuiguo.cms.client.ui;

import com.google.gwt.core.client.GWT;
import com.google.gwt.uibinder.client.UiBinder;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.Widget;
import com.google.inject.Inject;
import com.google.inject.Singleton;
import com.luhuiguo.cms.client.presenter.FooterPresenter;

/**
 * 页尾视图。
 * 
 * @author LuHuiguo
 * @version $Id: FooterView.java 96 2010-03-21 07:28:41Z luhuiguo@gmail.com $
 */
@Singleton
public class FooterView extends Composite implements FooterPresenter.Display {

    private static FooterViewUiBinder uiBinder = GWT.create(FooterViewUiBinder.class);

    interface FooterViewUiBinder extends UiBinder<Widget, FooterView> {
    }

    @Inject
    public FooterView() {
        initWidget(uiBinder.createAndBindUi(this));
        GWT.log("FooterView created");
    }

    @Override
    public Widget asWidget() {
        return this;
    }

}
